/**************************************************
* --
* 2. Section header
* --
**************************************************/
/**********************************************
* 2.1. Zone user
**********************************************/
.zone-user-wrapper {
  width: inherit !important;
}
/*******************************************
* 2.1.1. Region user first
*******************************************/
/* User menu */
.block-menu-user-menu .content {
  ul.menu {
    float: left;
    li {
      float: left;
    }
  }
}
/* Cart */
#region-user-second {
  .view-shopping-cart .view-empty .line-item-summary {
    float: left !important;
  }
}
.block-shopping-cart-block {
  margin-right: 0 !important;
}
.block-shopping-cart-block .content {

  //white-space: nowrap;
  width: 90%;

  .view-shopping-cart {
    .view-content,
    .view-footer,
    .view-empty,
    .line-item-summary,
    ul.links {
      float: left !important;
    }
    .view-footer {
      float: none;
    }
  }

  .view-shopping-cart,
  .view-empty {
    //width: 195px;
  }
  .view-content,
  .view-footer {
    //width: 195px;

    ul.links {
      // float: left !important;
      padding: 0;
    }
    p {
      //width: 20px;
    }
    .line-item-summary {
      //width: 195px;
    }
  }
}
/**********************************************
* 2.2. Zone branding
**********************************************/
/* Logo */
.zone-branding .region-branding .logo-img,
.zone-branding .region-branding .branding-data {
  float: right;
}

/**
* Search block
*/
#block-views-exp-display-products-page {
  float: left !important;
  margin-left: 15px;
  width: 300px;

  .views-exposed-widgets {
    left: auto;
    position: relative;
  }
}
#block-views-exp-display-products-page .views-exposed-widgets {
  position: relative;
}
#block-views-exp-display-products-page .form-text {
  height: 18px;
  margin-left: 0;
  padding: 5px;
  width: 265px;
}
#block-views-exp-display-products-page .views-submit-button {
  position: absolute;
  left: 3px;
  right: auto;
  .form-submit {
    float: left;
    width: 24px;
    height: 24px;
  }
}

/**********************************************
* 2.3. Zone menu
**********************************************/
/* Navigation */
#zone-menu .navigation .primary-menu {
  float: right !important;
  margin-right: 0 !important;
  margin-left: 12px !important;
}
#zone-menu .navigation .second-menu {
  float: left !important;
  margin-left: 0;
}
.navigation .primary-menu,
.navigation .second-menu,
.zone-menu .block-menu {
  ul li {
    display: inline;
    float: inherit;
    margin-right: 0;
    margin-left: 0;

    a {
      display: block;
      float: left;
      min-height: 100%;
      height: 28px;
    }
  }
}

.navigation .primary-menu ul li,
.navigation .second-menu ul li {
  float: none !important;
}
/**************************************************
* --
* 3. Section content
* --
**************************************************/
.section-content {
  min-height: auto;
  height: auto;
}
/*******************************************
* 3.2.1. Sidebar first
*******************************************/
/* Search api facet blocks */
.region-sidebar-first .block-facetapi {
  margin-left: 5px;
}
#search-api-ranges-block-slider-view-form {
  margin-top: 15px;
}
/* Category */
.region-sidebar-first .block-facetapi.field_category .item-list {
  border: none !important;
  height: auto !important;
  padding: 0 !important;
  overflow-y: visible !important;
}
/**************************************************
* --
* 5. Commerce specific
* --
**************************************************/
/**********************************************
* 5.2. All products page
**********************************************/

.page-products .view-display-products {
  clear: both;
  margin-top: 40px;
  width: 700px !important;

  ul {
    li.views-row {
      display: inline;
      height: 600px;
      padding-left: 5px;
      margin: 0;
      width: 225px;

      .content {
        .commerce-product-field {
          font-size: 14px !important;
          .field-name-commerce-price {
            font-size: 14px !important;
          }
        }
      }
    }
  }
}
#region-breadcrumb ul.pseudo-breadcrumb {
  li {
    float: right;
    padding-right: 30px;
    position: relative;

    a {
      position: absolute;
      height: 22px;
      right: 0;
      top: 0;
    }
  }
}
.block-search-api-sorts {
  position: relative;
  width: 100%;

  .block-inner {

    h2.block-title {
      float: right !important;
    }

    .content {
      float: right;
    }

  }

  ul.search-api-sorts {
    li {
      float: left !important;
      width: auto;
      display: inline !important;

      .search-api-sort-active {
        display: block !important;
        float: left;

        a {
          margin-left: 5px;
        }
      }
    }
  }
}
.node-product-type .cloud-zoom-container {
  margin-left: 0;
  margin-right: 0;
  padding-right: 130px;
  position: relative;

  a#cloud-zoom,
  a#cloud-zoom img {
    float: left !important;
  }
  #wrap img {
    float: right !important;
  }

  .cloud-zoom-gallery-thumbs {
    position: absolute;
    top: 0;
    left: 0 !important;
    right: 0px !important;
    width: 120px;

    .cloud-zoom-gallery img {
      max-width: none;
    }
  }
  .cloud-zoom-big,
  .mousetrap,
  .cloud-zoom-lens {
    left: 0 !important;
  }
}
.node-product-type .cloud-zoom-container .cloud-zoom-big,
.node-product-type .cloud-zoom-container .mousetrap,
.node-product-type .cloud-zoom-container .cloud-zoom-lens {
  display: inherit !important;
}
/**********************************************
* 5.3. Product page
**********************************************/
/**
* Add to cart popin.
*/
div.messages.commerce-add-to-cart-confirmation {
  left: 25%;
  .message-inner {
    .added-product-title {
      float: right !important;
    }
    .button-wrapper {
      right: auto !important;
      left: 0 !important;
    }
    .view-confirm-message-product-display {
      float: none !important; /* LTR */
      text-align: left;

      .view-content {
        float: right;
        margin-left: 0px !important;
        margin-right: 130px;

        .views-field-commerce-product .content {
          text-align : right;
          .field-name-field-images {
            left: auto;
            right: -115px;
          }
        }
        .views-field-commerce-total .field-content {
          float: right !important;
          text-align: right;
        }

      }
    }
  }
}
/**********************************************
* 5.4. Checkout process
**********************************************/
/**
* Checkout progress
*/
ul.inline.commerce-checkout-progress,
ol.inline.commerce-checkout-progress {
  li {
    background-image: url('../images/bg_checkout_progress_ie-rtl.png');
    background-position: left center;
    background-repeat: no-repeat;
    float: right; /* RTL */
    right: auto;
    left: -5px;
    padding-right: 25px;
    padding-left: 50px;

    &.active {
      background-image: url('../images/bg_checkout_progress_ie-rtl.png');
    }
    &.previous {
      background-image: url('../images/bg_checkout_progress_ie_visited-rtl.png');
    }
    &.last {
      background-image: url('../images/bg_checkout_progress_ie_last-rtl.png');
    }
    &.active.last {
      background-image: url('../images/bg_checkout_progress_ie_last-rtl.png');
    }
  }
}

